/*                                                                            */
/* Protea Tools Definitions for Application # 1                               */
/*                                                                            */
/*----------------------------------------------------------------------------*/
/* COPYRIGHT NOTICE                                                           */
/*                                                                            */
/* Copyright (C) 2003, 2004, 2005 eXegeSys, Inc.                              */
/* Copyright (C) 2008 Bruce A. James                                          */
/*                                                                            */
/* This program is part of the Protea Project.                                */
/*                                                                            */
/* The Protea Project is free software; you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by the   */
/* Free Software Foundation, either version 3 of the License, or (at your     */
/* option) any later version.                                                 */
/*                                                                            */
/* The Protea Project is distributed in the hope that it will be useful, but  */
/* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY */
/* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License    */
/* for more details.                                                          */
/*                                                                            */
/* You should have received a copy of the GNU General Public License along    */
/* with this program.  If not, see <http://www.gnu.org/licenses/>.            */
/*                                                                            */
/* Please send correspondence to:                                             */
/*                                                                            */
/* theproteaproject@gmail.com                                                 */
/*----------------------------------------------------------------------------*/
/*                                                                            */
/* This file is automatically generated by the makehfile utility.             */
/*                                                                            */
/* Manual changes to this file will be overwritten when makehfile is run.     */
/*                                                                            */

#ifndef __PROTEA_DEFN_1__
#define __PROTEA_DEFN_1__

/**
\file defns1.h
\brief Definition file based on current appdic
*/


namespace ProteaApp1 {
	//
	// Formats Definitions
	//
	const long FMT_DATABASE_DEFN         = 1;
	const long FMT_DATASET_DESCR         = 2;
	const long FMT_DATA_STRUCTURES       = 3;
	const long FMT_DATA_TYPE_DEFN        = 4;
	const long FMT_FIELD_DESCRIPTOR      = 5;
	const long FMT_FORMAT_DESCRIPTR      = 6;
	const long FMT_FMT_TYPE_DEFN         = 7;
	const long FMT_LITERAL_DEFN          = 8;
	const long FMT_COMPONENT_DEFN        = 9;
	const long FMT_SYSTEM_VALUES         = 10;
	const long FMT_TRANSACTION_DEFN      = 11;
	const long FMT_USER_EXIT_DEFNS       = 12;
	const long FMT_ADD_FIELD             = 13;
	const long FMT_DB_RELATE             = 14;
	const long FMT_DB_RELATE_TYPE        = 15;
	const long FMT_APPL_DEFN             = 16;
	const long FMT_ADDFIELDTOFORMAT      = 17;
	const long FMT_MAINTAINMESSAGES      = 18;
	const long FMT_ADDLITERAL            = 19;
	const long FMT_TRANS_SEARCH          = 20;
	const long FMT_ADD_FORMAT            = 21;
	const long FMT_MSG_DEFN              = 22;
	const long FMT_REVALLPROCESS         = 23;
	const long FMT_FORMAT_NBR_POOL       = 24;
	const long FMT_FIELD_NBR_POOL        = 25;
	const long FMT_DELETE_FORMAT         = 26;
	const long FMT_DELETE_FIELD          = 27;
	const long FMT_DELDATASTRUCTURE      = 28;
	const long FMT_REVALLPROCESS02       = 29;
	const long FMT_MAIN_MENU             = 30;
	const long FMT_REVIEWLICENSE         = 31;
	const long FMT_LIT_GROUP             = 32;
	const long FMT_ADDFLDFORMAT02        = 33;
	const long FMT_LIT_RELATE            = 34;
	const long FMT_MAINTAINDB            = 35;
	const long FMT_DR_GETMESSAGES        = 36;
	const long FMT_DR_GETMESSAGES_DET    = 37;
	const long FMT_LANGUAGE_DEFN         = 38;
	const long FMT_FIELD_RELATE          = 39;
	const long FMT_MNGFLDRELATE          = 40;
	const long FMT_DR_GETDEFAULTS        = 41;
	const long FMT_MANAGETRANS           = 42;
	const long FMT_FLDWHEREUSED          = 43;
	const long FMT_FLDWHEREUSED02        = 44;
	const long FMT_MAINTAINSYSVAL        = 45;
	const long FMT_DELETELITERAL         = 46;
	const long FMT_ADDLITGROUP           = 47;
	const long FMT_MANAGETRANS02         = 49;
	const long FMT_MNTDBRELATE           = 50;
	const long FMT_DELETELITGROUP        = 51;
	const long FMT_ADDLITTOGROUP         = 52;
	const long FMT_DELLITFROMGROUP       = 53;
	const long FMT_LIT_RELATE_PREP       = 54;
	const long FMT_MAINTAINTRANS         = 55;
	const long FMT_MAINTAINUE            = 56;
	const long FMT_SEARCHFORMAT          = 57;
	const long FMT_DR_GETFORMATINFO      = 58;
	const long FMT_DR_GETFORMATINF2      = 59;
	const long FMT_LITERAL_VALUES        = 60;
	const long FMT_NEWTRANS              = 61;
	const long FMT_COPYFORMAT            = 62;
	const long FMT_FIELD_SEARCH          = 63;
	const long FMT_FORMAT_SEARCH         = 64;
	const long FMT_MAINTAINAPPL          = 65;
	const long FMT_LSTLITWU              = 66;
	const long FMT_LSTLITWU2             = 67;
	const long FMT_LITERAL_DETAIL        = 68;
	const long FMT_REVLITGROUP           = 69;
	const long FMT_REVLITGROUPVALS       = 70;
	const long FMT_LSTLITSINGROUP        = 71;
	const long FMT_DR_GETDEFAULTS_DET    = 72;
	const long FMT_SEARCHMESSAGE         = 73;
	const long FMT_GET_FORMAT_NAME_NBR   = 74;
	const long FMT_GET_FIELD_NAME_NBR    = 75;
	const long FMT_MSG_MASTER            = 76;
	const long FMT_SETTRACELEVEL         = 77;
	const long FMT_PROCESS_DETAIL02      = 78;
	const long FMT_PROCESS_DETAIL        = 79;
	const long FMT_MAINTAIN_USER         = 80;
	const long FMT_MAINTAIN_GROUP        = 81;
	const long FMT_USER_GROUP_RELATION   = 82;
	const long FMT_REVIEW_APPLICATION    = 83;
	const long FMT_REVIEW_APPLICATION_DE = 84;
	const long FMT_REVIEW_ADMIN_LOGS     = 85;
	const long FMT_REVIEW_GENERAL_STATS  = 86;
	const long FMT_JOB_SCHEDULE          = 87;
	const long FMT_JOB_SCHEDULE_PARMS    = 88;
	const long FMT_MAINTAIN_JOB_SCH_PARM = 89;
	const long FMT_MAINTAIN_JOB_SCHEDULE = 90;
	const long FMT_GCS_CONFIG            = 91;
	const long FMT_REVIEW_USER           = 92;
	const long FMT_REVIEW_APPL_INFO      = 93;
	const long FMT_REV_JOB_SCHEDULE      = 94;
	const long FMT_MAINTAIN_APP_SECURITY = 95;


	//
	// Field Definitions
	//
	const long FLD_DATABASE_NBR     = 1;
	const long FLD_DATABASE_NAME    = 2;
	const long FLD_DATE_GENERATED   = 3;
	const long FLD_DB_USER          = 4;
	const long FLD_DB_PASSWORD      = 5;
	const long FLD_CUST_VERSION_NBR = 6;
	const long FLD_DB_MODIFY_FLAG   = 7;
	const long FLD_FORMAT_NAME      = 8;
	const long FLD_FORMAT_NUMBER    = 9;
	const long FLD_FIELD_NUMBER     = 10;
	const long FLD_FIELD_NAME       = 11;
	const long FLD_MIN_LENGTH       = 13;
	const long FLD_MAX_LENGTH       = 14;
	const long FLD_DATA_TYPE        = 15;
	const long FLD_DECIMAL_PLACES   = 16;
	const long FLD_CRITICAL_FIELD   = 17;
	const long FLD_DESCRIPTOR_FLAGS = 18;
	const long FLD_SEQUENCE_NBR     = 19;
	const long FLD_TYPE_NAME        = 20;
	const long FLD_STD_LENGTH       = 22;
	const long FLD_DB_BYTE_LENGTH   = 23;
	const long FLD_DB_FIELD_LENGTH  = 24;
	const long FLD_FIELD_VALUE      = 25;
	const long FLD_FORMAT_TYPE      = 26;
	const long FLD_CMND_FORMAT_NAME = 27;
	const long FLD_CRITICAL_FORMAT  = 28;
	const long FLD_LITERAL_NUMBER   = 31;
	const long FLD_LITERAL_NAME     = 32;
	const long FLD_LITERAL_LENGTH   = 33;
	const long FLD_LITERAL          = 34;
	const long FLD_DB_TYPE          = 38;
	const long FLD_VIEW_FLAG        = 39;
	const long FLD_RELATE_TYPE      = 40;
	const long FLD_APPL_NAME        = 41;
	const long FLD_OPTION_FLAGS     = 42;
	const long FLD_SYSTEM_OBJECT    = 43;
	const long FLD_COMPONENT_ID     = 44;
	const long FLD_COMPONENT_NAME   = 45;
	const long FLD_COMPONENT_REQ    = 46;
	const long FLD_ALLOW_ALL_DEFLT  = 47;
	const long FLD_JOB_NAME         = 48;
	const long FLD_JOB_DESC         = 49;
	const long FLD_JOB_COMP_CODE    = 50;
	const long FLD_JOB_PARM         = 51;
	const long FLD_VERSION_ID       = 52;
	const long FLD_TRANS_NUMBER     = 53;
	const long FLD_TRANS_CODE       = 54;
	const long FLD_DEFAULT_REC_FLAG = 55;
	const long FLD_MSG_NBR          = 62;
	const long FLD_MSG_TEXT         = 63;
	const long FLD_MSG_NAME         = 64;
	const long FLD_APPL_NBR         = 65;
	const long FLD_USER_EXIT_NUMBER = 66;
	const long FLD_USER_EXIT_NAME   = 67;
	const long FLD_USER_EXIT_DESC   = 69;
	const long FLD_USER_EXIT_ACTIVE = 70;
	const long FLD_COMMAND_WINDOW   = 75;
	const long FLD_USER_PASSWORD    = 78;
	const long FLD_CHILD_FORMAT     = 79;
	const long FLD_USER_NAME        = 84;
	const long FLD_TGT_FORMAT       = 87;
	const long FLD_TGT_FIELD        = 88;
	const long FLD_LIT_GROUP_NAME   = 91;
	const long FLD_LIT_GROUP_NBR    = 92;
	const long FLD_LIT_GROUP_VAL    = 93;
	const long FLD_TGT_FORMAT_NAME  = 98;
	const long FLD_TGT_FIELD_NAME   = 99;
	const long FLD_DESCRIPTION      = 100;
	const long FLD_LIT_VALUES       = 101;
	const long FLD_CHILD_NAME       = 102;
	const long FLD_LANG_NAME        = 103;
	const long FLD_LANG_DESC        = 104;
	const long FLD_MSTR_FIELD_NAME  = 105;
	const long FLD_MSTR_FIELD_NBR   = 106;
	const long FLD_JOB_PARM_NUMBER  = 107;
	const long FLD_JOB_PARM_VALUE   = 108;
	const long FLD_JOB_RESULT_DATA  = 109;
	const long FLD_JOB_RUN_DATE     = 110;
	const long FLD_JOB_RUN_TIME     = 111;
	const long FLD_JOB_SCHED_DATE   = 112;
	const long FLD_DESC_MESSAGE     = 114;
	const long FLD_SEARCH_MIN       = 115;
	const long FLD_SEARCH_MAX       = 116;
	const long FLD_SEARCH_TEXT      = 117;
	const long FLD_SEARCH_VALUE     = 118;
	const long FLD_LANG_ID          = 121;
	const long FLD_UNICODE_MULT     = 122;
	const long FLD_APPDIC_VERSION   = 123;
	const long FLD_START_STRING     = 124;
	const long FLD_FINISH_STRING    = 125;
	const long FLD_PARTIAL_STRING   = 126;
	const long FLD_RESULT_COUNT     = 127;
	const long FLD_JOB_SCHED_TIME   = 128;
	const long FLD_HOST_NAME        = 129;
	const long FLD_FILE_NAME        = 130;
	const long FLD_PID              = 131;
	const long FLD_PARENT_PID       = 132;
	const long FLD_LISTENER         = 133;
	const long FLD_TRANS_OPEN       = 134;
	const long FLD_TRANS_COMPLETE   = 135;
	const long FLD_TRANS_STATED     = 136;
	const long FLD_MSG_SENT         = 137;
	const long FLD_MSG_RECV         = 138;
	const long FLD_CPU_TIME         = 139;
	const long FLD_LAST_CHECK       = 140;
	const long FLD_FILTER_TYPE      = 141;
	const long FLD_LEVEL_CUTOFF     = 142;
	const long FLD_TRACING_ON       = 143;
	const long FLD_GROUP_NAME       = 144;
	const long FLD_INFO_TYPE        = 145;
	const long FLD_ERR_DESCRIPTION  = 146;
	const long FLD_ERR_FIELD        = 147;
	const long FLD_ERR_PID          = 148;
	const long FLD_ERR_TIME         = 149;
	const long FLD_ERR_NUMBER       = 150;
	const long FLD_STAT_NAME        = 151;
	const long FLD_STAT_VALUE       = 152;
	const long FLD_JOB_RECUR_MODE   = 153;
	const long FLD_JOB_STATE        = 154;
	const long FLD_JOB_TYPE         = 155;
	const long FLD_PORT_NBR         = 156;
	const long FLD_INFO_ITEM        = 157;


	//
	// Transaction Definitions
	//
	const long TRANS_ADDFIELD              = 1;
	const long TRANS_ADDFORMAT             = 2;
	const long TRANS_ADDDATASTRUCTURE      = 3;
	const long TRANS_DELETEFIELD           = 4;
	const long TRANS_DELETEFORMAT          = 5;
	const long TRANS_DELDATASTRUCTURE      = 6;
	const long TRANS_REVDATASTRUCTURE      = 7;
	const long TRANS_ADDMESSAGE            = 8;
	const long TRANS_DELMESSAGE            = 9;
	const long TRANS_REVMESSAGES           = 10;
	const long TRANS_ADDSCRNAV             = 11;
	const long TRANS_DELSCRNAV             = 12;
	const long TRANS_REVSCRNAV             = 13;
	const long TRANS_ADDSCROBJ             = 14;
	const long TRANS_DELSCROBJ             = 15;
	const long TRANS_REVSCROBJ             = 16;
	const long TRANS_REVFORMATS            = 17;
	const long TRANS_REVFIELDS             = 18;
	const long TRANS_FIELDWHEREUSED        = 19;
	const long TRANS_CHGFORMAT             = 20;
	const long TRANS_CHGFIELD              = 21;
	const long TRANS_CHGDATASTRUCTURE      = 22;
	const long TRANS_REVTRANS              = 23;
	const long TRANS_ADDAPPLICATION        = 24;
	const long TRANS_DELAPPLICATION        = 25;
	const long TRANS_ADDLITERAL            = 26;
	const long TRANS_DELETELITERAL         = 27;
	const long TRANS_ADDLITGROUP           = 28;
	const long TRANS_DELETELITGROUP        = 29;
	const long TRANS_ADDLITTOGROUP         = 30;
	const long TRANS_DELLITFROMGROUP       = 31;
	const long TRANS_ADDTRANS              = 32;
	const long TRANS_DELTRANS              = 33;
	const long TRANS_ADDDBRELATION         = 34;
	const long TRANS_DELDBRELATION         = 35;
	const long TRANS_ADDSYSVAL             = 36;
	const long TRANS_DELSYSVAL             = 37;
	const long TRANS_ADDUE                 = 38;
	const long TRANS_DELUE                 = 39;
	const long TRANS_REVIEWLITERALS        = 40;
	const long TRANS_REVIEWLITGROUPS       = 41;
	const long TRANS_REVLITGROUP           = 42;
	const long TRANS_REVUSEREXITFMT        = 43;
	const long TRANS_REVUSEREXIT           = 44;
	const long TRANS_GETFIELDNUMBER        = 45;
	const long TRANS_GETFORMATNUMBER       = 46;
	const long TRANS_CHGSYSVAL             = 47;
	const long TRANS_CHGTRANS              = 48;
	const long TRANS_CHGLITERAL            = 49;
	const long TRANS_DELAPPLALL            = 50;
	const long TRANS_CHGUE                 = 51;
	const long TRANS_REVSYSVALS            = 52;
	const long TRANS_REVDATATYPES          = 53;
	const long TRANS_REVFORMATTYPES        = 54;
	const long TRANS_CHGMESSAGE            = 55;
	const long TRANS_COPYFORMAT            = 56;
	const long TRANS_REVAPPLICATION        = 57;
	const long TRANS_REVDBRELATE           = 58;
	const long TRANS_DR_GETFORMATINFO      = 59;
	const long TRANS_REVTRAN               = 60;
	const long TRANS_ASSIGN_UE             = 61;
	const long TRANS_LITGROUPWHEREUSED     = 62;
	const long TRANS_CHGLITGROUP           = 63;
	const long TRANS_REVIEWLITERAL         = 64;
	const long TRANS_LITWHEREUSED          = 65;
	const long TRANS_ADDLITVAL             = 66;
	const long TRANS_DELLITVAL             = 67;
	const long TRANS_CHGLITVAL             = 68;
	const long TRANS_REVDATABASES          = 69;
	const long TRANS_REVAPPLICATIONS       = 70;
	const long TRANS_ADDDATABASE           = 71;
	const long TRANS_DELDATABASE           = 72;
	const long TRANS_DR_GETMESSAGES        = 73;
	const long TRANS_DR_GETLANGUAGES       = 74;
	const long TRANS_COPYFIELD             = 75;
	const long TRANS_ADDFLDRELATE          = 76;
	const long TRANS_DELFLDRELATE          = 77;
	const long TRANS_REVFLDRELATES         = 78;
	const long TRANS_ADDLANG               = 79;
	const long TRANS_DELLANG               = 80;
	const long TRANS_DR_GETDEFAULTS        = 81;
	const long TRANS_ADDFIELDPRO           = 82;
	const long TRANS_CHGFIELDPRO           = 83;
	const long TRANS_DELETEFIELDPRO        = 84;
	const long TRANS_ADDFORMATPRO          = 85;
	const long TRANS_CHGFORMATPRO          = 86;
	const long TRANS_DELFORMATPRO          = 87;
	const long TRANS_COPYFORMATPRO         = 88;
	const long TRANS_COPYFIELDPRO          = 89;
	const long TRANS_ADDDATASTRUCTUREPRO   = 90;
	const long TRANS_CHGDATASTRUCTUREPRO   = 91;
	const long TRANS_DELDATASTRUCTUREPRO   = 92;
	const long TRANS_ADDMESSAGEPRO         = 93;
	const long TRANS_DELMESSAGEPRO         = 94;
	const long TRANS_ADDLITGROUPPRO        = 95;
	const long TRANS_DELETELITGROUPPRO     = 96;
	const long TRANS_CHGLITGROUPPRO        = 97;
	const long TRANS_ADDLITERALPRO         = 98;
	const long TRANS_DELLITERALPRO         = 99;
	const long TRANS_CHGLITERALPRO         = 100;
	const long TRANS_ADDLITTOGROUPPRO      = 101;
	const long TRANS_DELLITFROMGROUPPRO    = 102;
	const long TRANS_PRINTFORMAT           = 103;
	const long TRANS_REVCOMPONENTS         = 104;
	const long TRANS_REVALLPROCESS         = 105;
	const long TRANS_SETTRACELEVEL         = 106;
	const long TRANS_SETLISTENERPORT       = 107;
	const long TRANS_UPDATEAPPL            = 108;
	const long TRANS_REVIEWLICENSE         = 109;
	const long TRANS_SHUTDOWN              = 110;
	const long TRANS_PROCESSDETAIL         = 111;
	const long TRANS_REVIEW_USERS          = 112;
	const long TRANS_REVIEW_GROUPS         = 113;
	const long TRANS_REVIEW_USER           = 114;
	const long TRANS_REVIEW_GROUP          = 115;
	const long TRANS_ADD_GROUP             = 116;
	const long TRANS_DEL_GROUP             = 117;
	const long TRANS_ADD_USER              = 118;
	const long TRANS_DEL_USER              = 119;
	const long TRANS_DEL_USER_FROM_GROUP   = 120;
	const long TRANS_ADD_USER_TO_GROUP     = 121;
	const long TRANS_REVIEW_APPLICATIONS   = 122;
	const long TRANS_REVIEW_APPLICATION    = 123;
	const long TRANS_REVIEW_APPL_SUB_ITEM  = 124;
	const long TRANS_REVIEW_ADMIN_LOGS     = 125;
	const long TRANS_REVIEW_GENERAL_STATS  = 126;
	const long TRANS_ADD_APP_SECURITY      = 127;
	const long TRANS_CHG_USER              = 128;
	const long TRANS_CHG_PASSWORD          = 129;
	const long TRANS_ADD_JOB               = 130;
	const long TRANS_CHG_JOB               = 131;
	const long TRANS_DEL_JOB               = 132;
	const long TRANS_REV_JOB_SCHEDULE      = 133;
	const long TRANS_REV_JOB_HISTORY       = 134;
	const long TRANS_DEL_APP_SECURITY      = 135;
	const long TRANS_CHG_APP_SECURITY      = 136;
	const long TRANS_ADD_APP_SECURITY_USER = 137;
	const long TRANS_DEL_APP_SECURITY_USER = 138;


	//
	// User Exits Definitions
	//
	const long UE_PRINTFORMAT           = 1;


	//
	// Literal Definitions
	//
	const long LIT_JOB_TYPE_EXTERN  = 1;
	const long LIT_JOB_TYPE_PREP    = 2;
	const long LIT_JOB_TYPE_TXN     = 3;
	const long LIT_RECUR_DAILY      = 4;
	const long LIT_RECUR_MONTHLY    = 5;
	const long LIT_RECUR_ON_DEMAND  = 6;
	const long LIT_RECUR_ONCE       = 7;
	const long LIT_RECUR_WEEKLY     = 8;
	const long LIT_RECUR_YEARLY     = 9;
	const long LIT_STATE_ACTIVE     = 10;
	const long LIT_STATE_COMPLETE   = 11;
	const long LIT_STATE_PAUSED     = 12;
	const long LIT_STATE_RUNNING    = 13;


	//
	// System value Definitions
	//
	const long SYS_TEST_VALUE       = 1;
	const long SYS_TEST_NUMBER      = 2;


	//
	// Error Definitions
	//
	const long ERR_BAD_SQL_STMT                     = -10008;
	const long ERR_DATABASE_COLUMN                  = -10007;
	const long ERR_DB_NONEXISTENT_TABLE             = -10006;
	const long ERR_DB_PRIMARY_KEY_VIOLATION         = -10005;
	const long ERR_DATABASE                         = -10004;
	const long ERR_BAD_SQL_COL                      = -10003;
	const long ERR_INV_SQL_CONS_TYP                 = -10001;
	const long ERR_INV_SQL_DATA_TYPE                = -10000;
	const long ERR_LICENSE_MACHINE                  = -9005;
	const long ERR_LICENSE_INVALID                  = -9004;
	const long ERR_LICENSE_IS_EXPIRED               = -9003;
	const long ERR_NO_LICENSE_FILE                  = -9002;
	const long ERR_TOO_MANY_USERS                   = -9001;
	const long ERR_INV_LICENSE                      = -9000;
	const long ERR_NO_UE_NUMBER                     = -8002;
	const long ERR_NO_UE_FUNCTION                   = -8001;
	const long ERR_NO_UE_LIB                        = -8000;
	const long ERR_FOP_FAILURE                      = -7004;
	const long ERR_FOP_LOCATION                     = -7003;
	const long ERR_FOP_ERROR                        = -7002;
	const long ERR_SMTP_ERROR                       = -7001;
	const long ERR_NO_APP_DIR                       = -7000;
	const long ERR_CANNOT_CHANGE_KEY_VALUE          = -6002;
	const long ERR_TXN_RETRY                        = -6001;
	const long ERR_TXN_TIME_OUT                     = -6000;
	const long ERR_HEADER_BUFFER_ORDER              = -5104;
	const long ERR_MUST_HAVE_HEADER_BUF             = -5103;
	const long ERR_BAD_CHILD_BUFFER                 = -5102;
	const long ERR_MULT_HEADER_BUF                  = -5101;
	const long ERR_INV_BUFFER_TYPE                  = -5100;
	const long ERR_AUTH_PARAMETER                   = -5019;
	const long ERR_AUTHENTICATION_ERROR             = -5018;
	const long ERR_AUTHENTICATION_NOT_SUPPORTED     = -5017;
	const long ERR_BAD_ARITH_OPER                   = -5016;
	const long ERR_USER_ID_NOT_SENT                 = -5015;
	const long ERR_USER_FAIL_SECURITY               = -5014;
	const long ERR_LOGIN_FAILED                     = -5013;
	const long ERR_OS_ERROR_PARM                    = -5012;
	const long ERR_BAD_BIND                         = -5011;
	const long ERR_NO_SOCKET                        = -5010;
	const long ERR_SL_NOT_FOUND                     = -5009;
	const long ERR_OS_ERROR                         = -5008;
	const long ERR_SL_ERROR                         = -5007;
	const long ERR_BAD_DB_LOGIN                     = -5006;
	const long ERR_BAD_SQL_DATATYPE                 = -5005;
	const long ERR_BAD_DB_INT                       = -5004;
	const long ERR_BAD_SQL_TYPE                     = -5003;
	const long ERR_BAD_TXN                          = -5002;
	const long ERR_NO_APPLICATION                   = -5001;
	const long ERR_NO_LICENSES                      = -5000;
	const long ERR_BAD_XSIROOT                      = -4000;
	const long ERR_APPLICATION_LOCKED               = -3001;
	const long ERR_AUTHORIZATION_FAILURE            = -3000;
	const long ERR_USER_EXIT_MESSAGE                = -2001;
	const long ERR_NO_DATA_CHANGE                   = -2000;
	const long ERR_INV_STRING_FIELD                 = -1723;
	const long ERR_INV_FIELD_DEFAULT                = -1722;
	const long ERR_INV_DATE_FIELD                   = -1721;
	const long ERR_FLD_NOT_FOUND                    = -1720;
	const long ERR_UNDERFLOW                        = -1719;
	const long ERR_OVERFLOW                         = -1718;
	const long ERR_INV_MESSAGE_NAME                 = -1700;
	const long ERR_CRIT_FIELD_MUST_EXIST            = -1501;
	const long ERR_CRIT_VALUE_CHANGE                = -1500;
	const long ERR_INVALID_COMPARISON               = -1452;
	const long ERR_BLANK_VALUE                      = -1303;
	const long ERR_INV_LITERAL_VALUE                = -1302;
	const long ERR_INV_LIT_VAL_FOR_GROUP            = -1301;
	const long ERR_INV_LIT_SCR_TAB_MATCH            = -1300;
	const long ERR_INVALID_DURATION                 = -1299;
	const long ERR_UNSUPPORTED_COMPARISON           = -1280;
	const long ERR_INV_BIG_STRING                   = -1270;
	const long ERR_INV_TIME                         = -1268;
	const long ERR_HIGH_ORDER_TRUNCATION            = -1267;
	const long ERR_TOO_MANY_DIGITS                  = -1265;
	const long ERR_LESS_THAN_MIN_LENGTH             = -1262;
	const long ERR_INV_DATE                         = -1260;
	const long ERR_INV_ALPHA_STRING                 = -1256;
	const long ERR_INV_CHAR                         = -1255;
	const long ERR_INV_NON_NUM                      = -1252;
	const long ERR_INVALID_FIELD_DATA               = -1220;
	const long ERR_INV_ASCII_DIG                    = -1216;
	const long ERR_FIELD_TRUNCATION                 = -1215;
	const long ERR_INV_TYPE                         = -1211;
	const long ERR_FMT_NOT_FOUND                    = -1210;
	const long ERR_INV_FIELD_NBR                    = -1209;
	const long ERR_INV_FORMAT_NBR                   = -1208;
	const long ERR_INV_LITERAL_NBR                  = -1207;
	const long ERR_INV_FIELD_DEFN                   = -1205;
	const long ERR_INV_INT_CONV                     = -1204;
	const long ERR_INV_DEC_DIGIT                    = -1203;
	const long ERR_INVALID_CONVERSION               = -1202;
	const long ERR_INV_TARGET                       = -1201;
	const long ERR_INV_SOURCE                       = -1200;
	const long ERR_FIELD_READ_ONLY                  = -1199;
	const long ERR_INVALID_PARAMETER                = -1100;
	const long ERR_REQUIRE_PRIMARY_KEY              = -1006;
	const long ERR_INV_BUFFER_DEFAULTS              = -1000;
	const long ERR_SEVERE_ERROR                     = -1;
	const long ERR_PORT_OUT_OF_RANGE                = 1;
	const long ERR_CANNOT_BE_BLANK                  = 2;
	const long ERR_PID_NOT_PRESENT                  = 3;
	const long ERR_APPL_NOT_PRESENT                 = 4;
	const long ERR_INT_NOT_PRESENT                  = 5;
	const long ERR_NO_ADMIN_LOG                     = 6;
	const long ERR_SYSTEM_START                     = 7;
	const long ERR_SYSTEM_STOP                      = 8;
	const long ERR_JOB_STARTED                      = 100;
	const long ERR_JOB_FAILURE                      = 101;
	const long ERR_JOB_COMPLETE                     = 102;
	const long ERR_DATABASE_RESERVED_WORD           = 1200;
	const long ERR_NO_SPACES_ALLOWED                = 1201;
	const long ERR_INV_NAME_CHARACTER               = 1202;
	const long ERR_INV_FIRST_CHARACTER              = 1203;
	const long ERR_BLANK_NAME                       = 1204;
	const long ERR_INV_OBJECT_NAME                  = 1220;
	const long ERR_INV_FORMAT_TYPE                  = 1221;
	const long ERR_NOT_NUMERIC                      = 1700;
	const long ERR_IS_BLANK                         = 1730;
	const long ERR_INVALID                          = 1740;
	const long ERR_MUST_SUPPLY_DATABASE             = 1800;
	const long ERR_DATABASE_IN_USE                  = 1801;
	const long ERR_FORMAT_IS_CHILD_CANT_DELETE      = 1900;
	const long ERR_INV_FORMAT_NUMBER                = 2000;
	const long ERR_BAD_APP_NUMBER                   = 2001;
	const long ERR_DS_DB_CHANGE                     = 3000;
	const long ERR_NO_COMPONENTS                    = 3002;
	const long ERR_INVALID_LITERAL_DEFAULT          = 4000;
	const long ERR_INVALID_LITERAL_GROUP            = 4001;
	const long ERR_AUTONUMBER_CHANGE                = 4002;
	const long ERR_NO_APP_NUMBER                    = 4500;
	const long ERR_APP_NUMBER_MISMATCH              = 4501;
	const long ERR_XML_PARSE                        = 4502;
	const long ERR_NO_DD_RECORD                     = 5000;
	const long ERR_BAD_INIT                         = 5001;
	const long ERR_CRITICAL_BUFFER                  = 5002;
	const long ERR_CANNOT_DELETE_CRITICAL           = 5003;
	const long ERR_CHANGE_CRITICAL_OBJECT           = 5004;
	const long ERR_INVALID_SEQUENCE                 = 5010;
	const long ERR_INV_DATASTRUCT                   = 5012;
	const long ERR_INV_FIELD_FORMAT                 = 5013;
	const long ERR_MAX_GREATER                      = 5014;
	const long ERR_FIELD_IN_USE                     = 5015;
	const long ERR_INV_FIELD_FORMAT_TYPE            = 5016;
	const long ERR_CRITICAL_FIELD                   = 5017;
	const long ERR_CRITICAL_FIELD_DEL               = 5018;
	const long ERR_ALREADY_EXISTS                   = 5019;
	const long ERR_DOESNT_EXIST                     = 5020;
	const long ERR_FIELD_LENGTH                     = 5021;
	const long ERR_DATA_TYPE                        = 5022;
	const long ERR_DECIMAL_PLACES                   = 5023;
	const long ERR_APP_NOT_REG                      = 5024;
	const long ERR_INV_LIT_RELATE                   = 5025;
	const long ERR_INV_LIT_LIT_GROUP                = 5026;
	const long ERR_AUTONUMBER_EXISTS                = 5027;
	const long ERR_INV_TYPE_VALUE                   = 5028;
	const long ERR_INV_SHORT_RANGE                  = 5029;
	const long ERR_DD_NO_FORMAT                     = 5030;
	const long ERR_DISP_DATA_TYPE_INV               = 5031;
	const long ERR_DB_RELATE_NO_FORMAT              = 5032;
	const long ERR_INV_FMT_DATA_TYPE                = 5041;
	const long ERR_FIELD                            = 6000;
	const long ERR_FORMAT                           = 6001;
	const long ERR_APPLICATION                      = 6002;
	const long ERR_TRANSACTION                      = 6003;
	const long ERR_LITERAL                          = 6004;
	const long ERR_LIT_GROUP                        = 6005;
	const long ERR_DB_RELATION                      = 6006;
	const long ERR_SYSTEM_VALUE                     = 6007;
	const long ERR_USER_EXIT                        = 6008;
	const long ERR_MESSAGE                          = 6009;
	const long ERR_FORMAT_NUMBER                    = 20000;
	const long ERR_FORMAT_NAME                      = 20001;
	const long ERR_FIELD_NUMBER                     = 20002;
	const long ERR_FIELD_NAME                       = 20003;
	const long ERR_MIN_LENGTH                       = 20004;
	const long ERR_MAX_LENGTH                       = 20005;
	const long ERR_LBL_DATA_TYPE                    = 20006;
	const long ERR_FIELD_SEQUENCE                   = 20007;
	const long ERR_DEFAULT_VALUE                    = 20008;
	const long ERR_LBL_DECIMAL_PLACES               = 20009;
	const long ERR_APPL_NUMBER                      = 20010;
	const long ERR_LENGTH                           = 20011;
	const long ERR_FORMAT_TYPE                      = 20012;
	const long ERR_DATA_STRUCTURE                   = 20014;
	const long ERR_LANG_ID                          = 20016;
	const long ERR_CHILD                            = 20017;
	const long ERR_USER                             = 30001;
	const long ERR_GROUP                            = 30002;
	const long ERR_JOB                              = 30004;
	const long ERR_PROCESS_ID                       = 30005;
	const long ERR_HOST_NAME                        = 30006;
	const long ERR_FILENAME                         = 30007;
	const long ERR_LISTENER_PORT                    = 30008;
	const long ERR_PARENT_PID                       = 30009;
	const long ERR_COMMAND_WINDOWS                  = 30010;
	const long ERR_FILTER_CUTOFF                    = 30011;
	const long ERR_LEVEL_CUTOFF                     = 30012;


};

#endif
